Re: [NTG-context] enforcing formation of conjuncts inside \starttyping \stoptyping

2022-01-01 Thread Wolfgang Schuster via ntg-context
Ajith R via ntg-context schrieb am 01.01.2022 um 11:14: For Malayalam, most often we would be expecting ligation to work even within \starttyping \stoptyping. You can anyway make a typescript that matches your needs. Don't know how. Can you point towards a documentation? You can use

Re: [NTG-context] enforcing formation of conjuncts inside \starttyping \stoptyping

2022-01-01 Thread Hans Hagen via ntg-context
On 1/1/2022 11:14 AM, Ajith R wrote: Don't know how. Can you point towards a documentation? \type-imp-* Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt |

Re: [NTG-context] enforcing formation of conjuncts inside \starttyping \stoptyping

2022-01-01 Thread Ajith R via ntg-context
On Sat, 1 Jan 2022 11:04:03 +0100 Hans Hagen wrote: > quick and dirty > > \setuptyping[style={\definedfont[Mono*malayalam-two]}] > > \starttyping > മലയാളലിപികളുടെ ആവൃത്തി നിർണ്ണയം > \stoptyping That was a quick fix. Yes, it is working. > If the need for features i

Re: [NTG-context] enforcing formation of conjuncts inside \starttyping \stoptyping

2022-01-01 Thread Hans Hagen via ntg-context
the command pair \starttyping \stoptyping, conjuncts are not formed as outside the command pair. Is it possible to enforce [features=malayalam-two] even inside \starttyping \stoptyping command pair? quick and dirty \setuptyping[style={\definedfont[Mono*malayalam-two]}] \starttyping മലയാളലിപികളുടെ

[NTG-context] enforcing formation of conjuncts inside \starttyping \stoptyping

2021-12-31 Thread Ajith R via ntg-context
Hi, I am trying to prepare a moderate sized document in Malayalam using Context. Overall I have been successful. However, there are a few rough edges for which I need help. This is the sixth problem I face. If I use Malayalam inside the command pair \starttyping \stoptyping, conjuncts

Re: [NTG-context] Selecting font for \starttyping

2017-06-16 Thread Henri Menke
On Fri, 2017-06-16 at 22:53 +0200, Hans Åberg wrote: > How does one choose font for \starttyping? It is apparently different from > that of \tt. No it is \tt, see buff-ver.mkiv \setuptyping   [     %...     sty

[NTG-context] Selecting font for \starttyping

2017-06-16 Thread Hans Åberg
How does one choose font for \starttyping? It is apparently different from that of \tt. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

[NTG-context] Gobbled spaces after \starttyping

2015-06-07 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, suppose the following code: \starttext \starttyping Aaa Bbb \stoptyping \stoptext It produces: Aaa Bbb How to force ConTeXt not to gobble spaces after \setuptyping, to get: Aaa Bbb i.e. to obey two blanksbefore Aaa? Thank you in advance. Best regards

[NTG-context] \starttyping font changes when option=color

2015-04-09 Thread Robin.Kirkham
colourisation for code snippets. Thanks, Robin \setupcolors[state=start] %\setuptyping[typing][option=color] \starttext Normal text \starttyping Typing text \stoptyping \stoptext ___ If your question is of interest to others

Re: [NTG-context] \starttyping font changes when option=color

2015-04-09 Thread Wolfgang Schuster
Am 09.04.2015 um 14:02 schrieb robin.kirk...@csiro.au: Folks, Switching the option to “color” in \setuptyping has the effect of resetting the font from typewriter (constant width) to paragraph font (if you uncomment it in the following MWE). I don’t see why that should be. Is it a

Re: [NTG-context] \starttyping while processing XML causing error

2014-03-28 Thread Xan
On 3/27/2014 9:46 AM, Xan wrote: \starttext A \xmlprocessfile{demo}{./dades.xml}{} B \stoptext \startxmlsetups xml:demo:code \blank \start \ttx \xmlverbatim{#1} \stop \blank \stopxmlsetups First of all, thank you very much, Hans. But why can't I use

Re: [NTG-context] \starttyping while processing XML causing error

2014-03-28 Thread Hans Hagen
On 3/28/2014 9:13 AM, Xan wrote: On 3/27/2014 9:46 AM, Xan wrote: \starttext A \xmlprocessfile{demo}{./dades.xml}{} B \stoptext \startxmlsetups xml:demo:code \blank \start \ttx \xmlverbatim{#1} \stop \blank \stopxmlsetups First of all, thank you very much, Hans. But

Re: [NTG-context] \starttyping while processing XML causing error

2014-03-28 Thread Xan
I can circumvent it with \defineframedtext[framedcode][strut=yes,width=local,align=flushleft,frame=off] \startxmlsetups xml:demo:codi \blank \startframedcode \startlinenumbering\xmlverbatim{#1}\stoplinenumbering \stopframedcode \blank \stopxmlsetups Xan.

Re: [NTG-context] \starttyping while processing XML causing error

2014-03-28 Thread Xan
How can I achieve this results? (numbering line and color basically) \startlinenumbering etc How can I disable hyphenize and wrap large lines? Thanks, Xan. ___ If your question is of interest to others as

Re: [NTG-context] \starttyping while processing XML causing error

2014-03-28 Thread Xan
On Fri, 28 Mar 2014 09:56:12 +0100 Hans Hagen pra...@wxs.nl ha escrit: On 3/28/2014 9:13 AM, Xan wrote: On 3/27/2014 9:46 AM, Xan wrote: \starttext A \xmlprocessfile{demo}{./dades.xml}{} B \stoptext \startxmlsetups xml:demo:code \blank \start \ttx

[NTG-context] \starttyping while processing XML causing error

2014-03-27 Thread Xan
) there is nothing to do /code /things When I compile tasques.context, all is ok, but when I substitute the \startlines \stoplines with \starttyping \stoptyping context never ends. Is that a bug? I just found [this](http://www.ntg.nl/pipermail/ntg-context/2012/064750.html), but really

Re: [NTG-context] \starttyping while processing XML causing error

2014-03-27 Thread Hans Hagen
On 3/27/2014 9:46 AM, Xan wrote: \starttext A \xmlprocessfile{demo}{./dades.xml}{} B \stoptext \startxmlsetups xml:demo:code \blank \start \ttx \xmlverbatim{#1} \stop \blank \stopxmlsetups -- -

[NTG-context] Making font smaller in \starttyping environment?

2013-08-31 Thread Mari Voipio
Hello, I know I should be able to do it (and think I've done it once upon a time), but how do I change the font size just for \tt and for \starttyping \stoptyping environment? I have no problems with the font used, I just want my typed text to be a tad smaller (like \tfx for that font). Once

Re: [NTG-context] Making font smaller in \starttyping environment?

2013-08-31 Thread Wolfgang Schuster
Am 31.08.2013 um 18:35 schrieb Mari Voipio mari.voi...@iki.fi: Hello, I know I should be able to do it (and think I've done it once upon a time), but how do I change the font size just for \tt and for \starttyping \stoptyping environment? I have no problems with the font used, I just

Re: [NTG-context] Making font smaller in \starttyping environment?

2013-08-31 Thread Mari Voipio
On Sat, Aug 31, 2013 at 7:44 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: When you want a smaller size for the monospaced font you can use the rscale key from \definetypeface. *That* was the command that I was grappling to find and that I've used before.

[NTG-context] starttyping environment again

2013-04-30 Thread jinki jung
Hi there, I am using context 0.6 under W7. I have problem with starttyping command. Somehow, it is not giving me same as I key in. Two examples are give here to explain my problem. Please see . Any help will be appreciated much. Jung, Jinki \starttyping LDP

Re: [NTG-context] starttyping environment again

2013-04-30 Thread Wolfgang Schuster
Am 29.04.2013 um 11:20 schrieb jinki jung jung.ji...@gmail.com: Hi there, I am using context 0.6 under W7. I have problem with starttyping command. Somehow, it is not giving me same as I key in. Two examples are give here to explain my problem. Please see . Any help

Re: [NTG-context] starttyping environment again

2013-04-30 Thread jinki jung
with starttyping command. Somehow, it is not giving me same as I key in. Two examples are give here to explain my problem. Please see . Any help will be appreciated much. Jung, Jinki \starttyping LDPREM

Re: [NTG-context] setupblock with starttyping doesn't work

2013-02-01 Thread Ingo Hohmann
Thank you for your answers, in my case, start-/stoplines is actually much better. Kind regards, Ingo ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] setupblock with starttyping doesn't work

2013-01-31 Thread Ingo Hohmann
to accomplish: The user writes the address, and he should not have to use \crlf or have to use several distinct commands. Why does the following not work? \defineblock[Address] \setupblock[Address][ before=\starttyping, after=\stoptyping ] \starttext \beginAddress Peter Pan Somewhere over

Re: [NTG-context] setupblock with starttyping doesn't work

2013-01-31 Thread Hans Hagen
. So here it goes ... What I want to accomplish: The user writes the address, and he should not have to use \crlf or have to use several distinct commands. Why does the following not work? \defineblock[Address] \setupblock[Address][ before=\starttyping, after=\stoptyping ] you pick

Re: [NTG-context] setupblock with starttyping doesn't work

2013-01-31 Thread Aditya Mahajan
, and some problems are showing up now. So here it goes ... What I want to accomplish: The user writes the address, and he should not have to use \crlf or have to use several distinct commands. Why does the following not work? \defineblock[Address] \setupblock[Address][ before=\starttyping

Re: [NTG-context] starttyping/stoptyping broken?

2012-01-16 Thread mathew
On Sat, Jan 14, 2012 at 04:37, Hans Hagen pra...@wxs.nl wrote: this related to the buffer bug (still no new beta as i'm redoing some font code and have not much time today) OK. Is there some convenient way to revert to the last known good version of standalone ConTeXt? I ended up installing

Re: [NTG-context] starttyping/stoptyping broken?

2012-01-14 Thread Hans Hagen
On 14-1-2012 00:40, mathew wrote: Just this minute updated via wget http://minimals.contextgarden.net/setup/first-setup.sh and running first-setup.sh, getting errors trying to use \starttyping/\stoptyping. --- example file --- \starttext \startframedtext[width=5.5cm] \starttyping Line 1 Line 2

[NTG-context] starttyping/stoptyping broken?

2012-01-13 Thread mathew
Just this minute updated via wget http://minimals.contextgarden.net/setup/first-setup.sh and running first-setup.sh, getting errors trying to use \starttyping/\stoptyping. --- example file --- \starttext \startframedtext[width=5.5cm] \starttyping Line 1 Line 2 Line 3 \stoptyping \stopframedtext

[NTG-context] Tabs inside \starttyping \stoptyping

2010-11-24 Thread Richard Stephens
Hello again, I am using the latest beta (20.11.2010 12:15) and I've found that a file with a [tab] inside \starttyping...\stoptyping results in an error. Example: \starttext \starttyping Some typing. \stoptyping \stoptext Note the [tab] before Some. This results in error: ! LuaTeX error

Re: [NTG-context] Tabs inside \starttyping \stoptyping

2010-11-24 Thread Leo Razoumov
On Wed, Nov 24, 2010 at 05:07, Richard Stephens richard.steph...@converteam.com wrote: Hello again, I am using the latest beta (20.11.2010 12:15) and I've found that a file with a [tab] inside \starttyping...\stoptyping results in an error. Example: \starttext \starttyping        Some

Re: [NTG-context] Tabs inside \starttyping \stoptyping

2010-11-24 Thread Hans Hagen
On 24-11-2010 11:07, Richard Stephens wrote: Hello again, I am using the latest beta (20.11.2010 12:15) and I've found that a file with a [tab] inside \starttyping...\stoptyping results in an error. the next beta will have a completely rewritten verbatim support for the moment you can try

Re: [NTG-context] Trouble with # character in TABLE environment... trouble with \starttyping environment too

2010-08-25 Thread Jaroslav Hajtmar
Ok. Thanx Hans. I solve it with \#\type{patt} it look like as have it and therefore isnt problem. BUT now I have problem with \starttyping - \stoptyping environment too. here is example: This works OK... \starttyping c = re.compile([[ longstring - ('[' {:eq: '='* :} '[' close) = void

Re: [NTG-context] Trouble with # character in TABLE environment... trouble with \starttyping environment too

2010-08-25 Thread Hans Hagen
On 25-8-2010 12:07, Jaroslav Hajtmar wrote: Ok. Thanx Hans. I solve it with \#\type{patt} it look like as have it and therefore isnt problem. BUT now I have problem with \starttyping - \stoptyping environment too. here is example: This works OK... \starttyping c = re.compile([[ longstring

Re: [NTG-context] Trouble with # character in TABLE environment... trouble with \starttyping environment too

2010-08-25 Thread Jaroslav Hajtmar
Thanx Hans, I did not think that inside \starttyping -- \stoptyping environment ConTeXt could do such a check this thing. Thanks so much. Health Jaroslav Dne 25.8.2010 13:34, Hans Hagen napsal(a): On 25-8-2010 12:07, Jaroslav Hajtmar wrote: Ok. Thanx Hans. I solve it with \#\type{patt

Re: [NTG-context] Trouble with # character in TABLE environment... trouble with \starttyping environment too

2010-08-25 Thread Aditya Mahajan
On Wed, 25 Aug 2010, Hans Hagen wrote: On 25-8-2010 12:07, Jaroslav Hajtmar wrote: Ok. Thanx Hans. I solve it with \#\type{patt} it look like as have it and therefore isnt problem. BUT now I have problem with \starttyping - \stoptyping environment too. here is example: This works OK

Re: [NTG-context] Trouble with # character in TABLE environment... trouble with \starttyping environment too

2010-08-25 Thread Hans Hagen
On 25-8-2010 8:49, Jaroslav Hajtmar wrote: Thanx Hans, I did not think that inside \starttyping -- \stoptyping environment ConTeXt could do such a check this thing. Well, the captured content is passed to the lua end using long strings so nothing is processed at that stage. Of course I

Re: [NTG-context] Trouble with # character in TABLE environment... trouble with \starttyping environment too

2010-08-25 Thread Hans Hagen
On 25-8-2010 8:59, Aditya Mahajan wrote: Is there a more robust way to do this? Perhaps making the number of equal signs user configurable? redefining \!!bs and \!!es is ok as they will not disappear after all, how often does one use [===[ and ]===] in lua code (in a non symmetrical way).

[NTG-context] How to prevent TeX ligatures in \starttyping..\stoptyping?

2009-05-04 Thread Kevin D. Robbins
From older posts to the mailing list, it seems that the way to prevent TeX ligatures, specifically -- and ---, in \starttyping...\stoptyping in MkIV is to 1. define a font feature with tlig=no 2. define a font synonym for the monospace font that uses this font feature 3. setup typing to use

[NTG-context] additional blank line in starttyping environment

2007-07-15 Thread WolfgangZ
Hi, I get an extra blank line at the beginning of the starttyping environment. How do I get rid of it? See the huge space top of the line BYTEORDER M: \setupcolors[state=start] \starttext \startbuffer[1arc] \starttyping BYTEORDER M LAYOUT BIL NROWS 3601 NCOLS 3601 NBANDS 1 NBITS 16

Re: [NTG-context] additional blank line in starttyping environment

2007-07-15 Thread Thomas A. Schmitz
0.000278 YDIM 0.000278 \stopbuffer \starttext \framed [width=6cm,frame=off,align=flushleft,background=color,backgroundcolor=re d]{\typebuffer[1arc]} \stoptext HTH Thomas On Jul 15, 2007, at 5:45 PM, WolfgangZ wrote: Hi, I get an extra blank line at the beginning of the starttyping

Re: [NTG-context] additional blank line in starttyping environment

2007-07-15 Thread Peter Münster
On Sun, 15 Jul 2007, WolfgangZ wrote: I get an extra blank line at the beginning of the starttyping environment. How do I get rid of it? The cause of the problem seems to be the align=flushleft. Workaround: \vskip-\lineheight Minimal example, showing the problem and the workaround

Re: [NTG-context] additional blank line in starttyping environment

2007-07-15 Thread WolfgangZ
Peter Münster schrieb: On Sun, 15 Jul 2007, WolfgangZ wrote: I get an extra blank line at the beginning of the starttyping environment. How do I get rid of it? The cause of the problem seems to be the align=flushleft. Workaround: \vskip-\lineheight Minimal example, showing the problem

Re: [NTG-context] reference to \starttyping

2006-12-09 Thread andrea valle
AH! Thanks, I had already tried it but it seemed not work. But it was me: \setuppagenumbering[state=stop]. with \setuppagenumbering[state=start] works perfectly. Best -a- On 9 Dec 2006, at 02:42, Aditya Mahajan wrote: \pagereference[tag] Andrea Valle DAMS - Facoltà di Scienze della

Re: [NTG-context] reference to \starttyping

2006-12-09 Thread Aditya Mahajan
On Sat, 9 Dec 2006, andrea valle wrote: AH! Thanks, I had already tried it but it seemed not work. But it was me: \setuppagenumbering[state=stop]. You can use \setuppagenumbering[location=] to get rid of the page number. Aditya ___ ntg-context

[NTG-context] reference to \starttyping

2006-12-08 Thread andrea valle
Hi to all, I'm typesetting a manual for a programming language. I'm inserting long excerpts from code and I have my nice line numbers as explained by the wiki. Code is inserted using \startcode\stopcode mechanism (I have two type of starttyping). I cannot understand how to refer to these code

Re: [NTG-context] reference to \starttyping

2006-12-08 Thread Aditya Mahajan
On Sat, 9 Dec 2006, andrea valle wrote: Hi to all, I'm typesetting a manual for a programming language. I'm inserting long excerpts from code and I have my nice line numbers as explained by the wiki. Code is inserted using \startcode\stopcode mechanism (I have two type of starttyping). I

Re: [NTG-context] starttyping

2006-02-06 Thread Hans Hagen
Hans van der Meer wrote: Found something annoying with \starttyping...\stoptyping. I wanted side by side two framed texts in verbatim, one of them one line longer than the other. Of course they should align there lines. To accomplish this I put a blank line at the end of the shortest text

Re: [NTG-context] starttyping

2006-02-06 Thread Hans Hagen
Taco Hoekwater wrote: Hans van der Meer wrote: Found something annoying with \starttyping...\stoptyping. I wanted side by side two framed texts in verbatim, one of them one line longer than the other. Of course they should align there lines. To accomplish this I put a blank line

[NTG-context] starttyping

2006-02-04 Thread Hans van der Meer
Found something annoying with \starttyping...\stoptyping. I wanted side by side two framed texts in verbatim, one of them one line longer than the other. Of course they should align there lines. To accomplish this I put a blank line at the end of the shortest text. Alas, \starttyping does

Re: [NTG-context] starttyping

2006-02-04 Thread Taco Hoekwater
Hans van der Meer wrote: Found something annoying with \starttyping...\stoptyping. I wanted side by side two framed texts in verbatim, one of them one line longer than the other. Of course they should align there lines. To accomplish this I put a blank line at the end of the shortest

[NTG-context] \starttyping

2005-12-16 Thread Wolfgang Zillig
Hello, I wan't to typset some programming code \starttyping code \stoptyping works perfect. But is there a way to use directly the input of a file? When I use \starttyping \input file.m \stoptyping I get the line \input file.m displayed. I think there is an easy way to get this problem

Re: [NTG-context] \starttyping

2005-12-16 Thread Tobias Burnus
Hello, Wolfgang Zillig wrote: I wan't to typset some programming code \starttyping code \stoptyping works perfect. But is there a way to use directly the input of a file? \typefile ? Tobias ___ ntg-context mailing list ntg-context@ntg.nl http

Re: [NTG-context] \starttyping

2005-12-16 Thread Tobias Burnus
Hello, Wolfgang Zillig wrote: I wan't to typset some programming code \starttyping code \stoptyping works perfect. But is there a way to use directly the input of a file? \typefile ? Tobias ___ ntg-context mailing list ntg-context@ntg.nl http

Re: [NTG-context] \starttyping

2005-12-16 Thread Wolfgang Zillig
Sometimes the solution is too simple! I don't know why I did'nt find that solution imediately! Thanks Wolfgang Zitat von Tobias Burnus [EMAIL PROTECTED]: Hello, Wolfgang Zillig wrote: I wan't to typset some programming code \starttyping code \stoptyping works perfect

Re: [NTG-context] t-rsteps and starttyping

2005-09-28 Thread Christopher Creutzig
Hans Hagen wrote: Christopher Creutzig wrote: Is there a way of having \installprogram for only for after the *last* run? (I don't think there could be a systemmode for the last run, but another option is to use --final in texexec and test for: \startmode[*last] ... \stopmode

Re: [NTG-context] t-rsteps and starttyping

2005-09-25 Thread Hans Hagen
Christopher Creutzig wrote: Is there a way of having \installprogram for only for after the *last* run? (I don't think there could be a systemmode for the last run, but texexec knows it has done the last run, so there might be some file.tui line doing this kind of magic.) tricky indeed,

Re: [NTG-context] t-rsteps and starttyping

2005-09-23 Thread Mojca Miklavec
David Munger wrote: Hans Hagen: did you ever try texexec --mode=demo s-pre-61 using 'layers' is rather robust (no duplicate pages and such); Duplicated pages are the desired/intentional behaviour of this module (noone would object having a switch to choose between the method with

Re: [NTG-context] t-rsteps and starttyping

2005-09-23 Thread Peter Münster
On Thu, 22 Sep 2005, Hans Hagen wrote: Some of the older presentation styles build the pages stepwise, they use either boxes, or buffers (i must look into it, but there is also one that plugs into the otr; in your case, collecting in a box and uncopying it is probably the best method.

Re: [NTG-context] t-rsteps and starttyping

2005-09-23 Thread Hans Hagen
� wrote: On Thu, 22 Sep 2005, Hans Hagen wrote: Some of the older presentation styles build the pages stepwise, they use either boxes, or buffers (i must look into it, but there is also one that plugs into the otr; in your case, collecting in a box and uncopying it is probably the best

Re: [NTG-context] t-rsteps and starttyping

2005-09-23 Thread Christopher Creutzig
Hans Hagen wrote: also, when collecting and flushing pieces of content, spacing is a tricky business (watch closely to presentations made quick and you'll notice those side effects) That is why ppower4 is such a nice alternative: It inserts just some pdf comments and otherwise leaves the

Re: [NTG-context] t-rsteps and starttyping

2005-09-22 Thread Christopher Creutzig
David Munger wrote: Unfortunately, the \StartLong macro is not meant only for producing line-wise content. In the general case, it contains something else than just \starttyping block. Please try this: \bgroup \catcode`\^^M=\active \gdef\StartLong{\begingroup\obeylines\let^^M^^J

Re: [NTG-context] t-rsteps and starttyping

2005-09-22 Thread David Munger
Hi Christopher, This was the right way. Thanks a lot! Still, I don't understand how the \starttyping macro gets to work if ^^M is redefined as ^^J. I will tell Patrick to update the module on the garden. Meanwhile, you can get the updated version on my site: http://cfd.homelinux.org/tex

Re: [NTG-context] t-rsteps and starttyping

2005-09-22 Thread Hans Hagen
David Munger wrote: Hi Christopher, This was the right way. Thanks a lot! Still, I don't understand how the \starttyping macro gets to work if ^^M is redefined as ^^J. why exactly do you need this construct; there may be other ways to do it; Hans

Re: [NTG-context] t-rsteps and starttyping

2005-09-22 Thread David Munger
. Of course, it shows only the relevant parts at each step. To allow this, I had to work around page numbers, formula numbers, and lately \starttyping blocks. If you could suggest a better way to achieve this multiple expansion, it would be welcome. Regards, David why exactly do you need this construct

Re: [NTG-context] t-rsteps and starttyping

2005-09-22 Thread Hans Hagen
of requested steps. Of course, it shows only the relevant parts at each step. To allow this, I had to work around page numbers, formula numbers, and lately \starttyping blocks. If you could suggest a better way to achieve this multiple expansion, it would be welcome. did you ever try texexec

Re: [NTG-context] t-rsteps and starttyping

2005-09-22 Thread David Munger
Hans Hagen: did you ever try texexec --mode=demo s-pre-61 using 'layers' is rather robust (no duplicate pages and such); Of course, I did. The only issue is about JavaScript, which does not work in most non-Acrobat PDF readers. This is the purpose of the RawSteps module: to avoid

Re: [NTG-context] t-rsteps and starttyping

2005-09-21 Thread Christopher Creutzig
David Munger wrote: \long\def\StartLong#1\StopLong{#1} \starttext \StartLong \starttyping hallo \stoptyping \StopLong \stoptext This will produce no error, but no output as well. Maybe we could use some alternate mechanism to define the \StartLong...\StopLong pair. \def\StartLong

Re: [NTG-context] t-rsteps and starttyping

2005-09-21 Thread David Munger
Le Mercredi 21 septembre 2005 à 14:38 +0200, Christopher Creutzig a écrit : David Munger wrote: \long\def\StartLong#1\StopLong{#1} \starttext \StartLong \starttyping hallo \stoptyping \StopLong \stoptext This will produce no error, but no output as well. Maybe we could use

Re: [NTG-context] t-rsteps and starttyping

2005-09-21 Thread Taco Hoekwater
Hi, \starttyping needs to be followed by a newline, but macro arguments cannot contain newlines unless \obeylines is in effect. So: \def\StartLong{\begingroup\obeylines\doStartLong} \long\def\doStartLong#1\StopLong{\scantokens{#1}\endgroup} Cheers, Taco David Munger wrote: I do need

Re: [NTG-context] t-rsteps and starttyping

2005-09-21 Thread David Munger
Thanks Taco, This solution works in that particular case. Unfortunately, the \StartLong macro is not meant only for producing line-wise content. In the general case, it contains something else than just \starttyping block. David Le Mercredi 21 septembre 2005 à 16:13 +0200, Taco Hoekwater

Re: [NTG-context] t-rsteps and starttyping

2005-09-12 Thread Peter Münster
On Mon, 27 Jun 2005, David Munger wrote: I'm currently not at home. I'll be back next week and then I'll try to figure out what happens. Hi David, have you already found something? Regards, Peter -- http://pmrb.free.fr/contact/ ___ ntg-context

Re: [NTG-context] t-rsteps and starttyping

2005-09-12 Thread David Munger
Hi Peter, I am very sorry, I had completely forgotten about that issue. It boils down to the following: \long\def\StartLong#1\StopLong{#1} \starttext \StartLong \starttyping hallo \stoptyping \StopLong \stoptext This will produce no error, but no output as well. Maybe we could use some

Re: [NTG-context] t-rsteps and starttyping

2005-06-29 Thread David Munger
in definition of \verbatimline. \usemodule[rsteps] \starttext \StartSteps \starttyping hallo \stoptyping \NextStep hallo \StopSteps \stoptext Greetings, Peter ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg

Re: [NTG-context] t-rsteps and starttyping

2005-06-28 Thread Peter Münster
On Mon, 27 Jun 2005, Hans Hagen wrote: could somebody help me with the following problem please? With the following test file, I get the error ERROR: Illegal parameter number in definition of \verbatimline. take a look at s-pre-60+ for an alternative Hello Hans, I've tried it out, but

Re: [NTG-context] t-rsteps and starttyping

2005-06-27 Thread Hans Hagen
Otared KAVIAN wrote: On 6/24/05, Peter Münster [EMAIL PROTECTED] wrote: Hello, could somebody help me with the following problem please? With the following test file, I get the error ERROR: Illegal parameter number in definition of \verbatimline. take a look at s-pre-60+ for an alternative

Re: [NTG-context] t-rsteps and starttyping

2005-06-25 Thread Otared KAVIAN
On 6/24/05, Peter Münster [EMAIL PROTECTED] wrote: Hello, could somebody help me with the following problem please? With the following test file, I get the error ERROR: Illegal parameter number in definition of \verbatimline. \usemodule[rsteps] \starttext \StartSteps \starttyping

Re: [NTG-context] t-rsteps and starttyping

2005-06-25 Thread Peter Münster
On Sat, 25 Jun 2005, Otared KAVIAN wrote: \startbuffer[hallo] %% define a buffer named hallo Hallo from buffer \stopbuffer Hi Otared, the problem is, that for some reasons, I don't want to use buffers here... \StartSteps[Test] %% \StartSteps needs an argument

[NTG-context] t-rsteps and starttyping

2005-06-24 Thread Peter Münster
Hello, could somebody help me with the following problem please? With the following test file, I get the error ERROR: Illegal parameter number in definition of \verbatimline. \usemodule[rsteps] \starttext \StartSteps \starttyping hallo \stoptyping \NextStep hallo \StopSteps \stoptext Greetings

Re: [NTG-context] algorithms style : need \starttyping with TeX and math feature

2005-01-03 Thread Maurice Diamantini
Le 25 déc. 04, à 20:03, John Culleton a écrit : On Friday 24 December 2004 09:23, Mojca Miklavec wrote: Maurice Diamantini wrote: Well I agree that it's no more typing any more! So a special option for \setuplines would be more appropriate? Exactly, \starttyping does exactly that what you don't

Re: [NTG-context] algorithms style : need \starttyping with TeX and math feature

2005-01-03 Thread Maurice Diamantini
Le 26 déc. 04, à 21:57, h h extern a écrit : Christmas present ... Thank you Hans for this present !! I just had to search the key to open this present, as I used an old ConTeXt version So I'm trying to switch to the texlive-2004 distribution (choosing the GUTenberg installation set) After some

Re: [NTG-context] algorithms style : need \starttyping with TeX and math feature

2005-01-03 Thread Hans Hagen
Maurice Diamantini wrote: Le 26 déc. 04, à 21:57, h h extern a écrit : Christmas present ... Would it not be a better idea to provide another environnement name to avoid conflict with the future standard startline environment? I tried to rename startlines to startLines with other hack, but it

Re: [NTG-context] algorithms style : need \starttyping with TeX and math feature

2004-12-27 Thread h h extern
Miklavec wrote: Maurice Diamantini wrote: Well I agree that it's no more typing any more! So a special option for \setuplines would be more appropriate? Exactly, \starttyping does exactly that what you don't want: it disables math and expansion of TeX commands. Also, perhaps my request is simply

Re: [NTG-context] algorithms style : need \starttyping with TeX and math feature

2004-12-25 Thread John Culleton
On Friday 24 December 2004 09:23, Mojca Miklavec wrote: Maurice Diamantini wrote: Well I agree that it's no more typing any more! So a special option for \setuplines would be more appropriate? Exactly, \starttyping does exactly that what you don't want: it disables math and expansion

[NTG-context] algorithms style : need \starttyping with TeX and math feature

2004-12-24 Thread Maurice Diamantini
Bonjour à tous, I'm trying to white some algorithms in natural language (versus pseudo-computing langage) I need to keep some typing for write space (i.e. indentation of text) while being able to white TeX commands (with \xxx{yyy}) and math (like $y_u(t)$) In fact I'd like some LaTeX algorithms

Re: [NTG-context] algorithms style : need \starttyping with TeX and math feature

2004-12-24 Thread Maurice Diamantini
A solution of my probleme could be reformule to : How can I configure the \setuptyping environment to be able to keep the normal feature of special TeX caracters like: - \ - { and } and [ and ] - $ Well I agree that it's no more typing any more! So a special option for

Re: [NTG-context] algorithms style : need \starttyping with TeX and math feature

2004-12-24 Thread Mojca Miklavec
Maurice Diamantini wrote: Well I agree that it's no more typing any more! So a special option for \setuplines would be more appropriate? Exactly, \starttyping does exactly that what you don't want: it disables math and expansion of TeX commands. Also, perhaps my request is simply an option

[NTG-context] Override starttyping environment

2004-11-04 Thread Arnold, David
Hans et al, I have in my preamble: \definetyping[matlab] \setuptyping[matlab] [before={\startframedtext[width=\makeupwidth, background=screen, backgroundscreen=0.9]}, after={\stopframedtext}, color=darkred] Later in my document, I tried to center one of these environments:

[NTG-context] Re: Override starttyping environment

2004-11-04 Thread Patrick Gundlach
Hello David, [before={\startframedtext[width=\makeupwidth, and \startalignment[middle] don't work together. Perhaps you can put your \startmatlab in a framed box with specific width and frame=off. P. -- ConTeXt wiki: http://contextgarden.net

Re: [NTG-context] Re: \startlinenumbering and \starttyping

2004-06-14 Thread Hans Hagen
Nikolai Weibull wrote: * Patrick Gundlach [EMAIL PROTECTED] [Jun 11, 2004 19:00]: What is your def of \startfiletyping? Argh, should have sticked to the original example - copy and pasted... Anyway, it is equivalent to \startlinenumbering \starttyping Kenneth Brown recent conduct has been

[NTG-context] \startlinenumbering and \starttyping

2004-06-11 Thread Nikolai Weibull
I hope I'm missing something, because these commands don't seem to interact flawlessly. What I do now is \startlinenumbering \startfiletyping Kenneth Brown recent conduct has been rather unacceptable in my humble opinion. It is, perhaps, not a coincidence that his last name is the name of the

[NTG-context] Re: \startlinenumbering and \starttyping

2004-06-11 Thread Patrick Gundlach
Nikolai Weibull [EMAIL PROTECTED] writes: I hope I'm missing something, because these commands don't seem to interact flawlessly. What I do now is \startlinenumbering ! Undefined control sequence. recently read \startfiletyping l.3 \startfiletyping

[NTG-context] Re: \startlinenumbering and \starttyping

2004-06-11 Thread Patrick Gundlach
Hello Nikolai, Argh, should have sticked to the original example - copy and pasted... Anyway, it is equivalent to [...] Sorry, your file works fine here, except that there is no \starttext...\stoptext pair. No error/overfull box/... ... systems: begin file test at line 1

[NTG-context] Re: \startlinenumbering and \starttyping

2004-06-11 Thread Nikolai Weibull
* Patrick Gundlach [EMAIL PROTECTED] [Jun 11, 2004 19:30]: Please post a minimal file that is *complete* (!!) and shows the error /warning you get. I tried producing one, but it didn't give. Weird, I can't understand why it gets messed up. Oh well, such is life. nikolai -- ::: name: